home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / ALL95.LZH / letters_fj / text0018.txt < prev    next >
Encoding:
Text File  |  1995-10-04  |  895 b   |  24 lines

  1. Hi,
  2.  
  3. > Do you know how to clip the walls in order not to walk threw them as it
  4. > seems to do now ?
  5.  
  6. The only way would be to stop the 'player' from walking into them.
  7. That would need a check against all the border lines of the current sector
  8. that are in front of the 'player'. If one is crossed, move back again.
  9. Of course it should be possible to cross a wall if the area on the other side
  10. is lower than the current or if the height difference is not too great.
  11.  
  12. It should not be very difficult to implement, but certainly not trivial
  13. either. If you like, I can take a look at it.
  14.  
  15. Regards,
  16. Johan
  17.  
  18. -- 
  19.   Chalmers University   | Why are these |  e-mail:   d8klojo@dtek.chalmers.se
  20.      of Technology      |  .signatures  |            rand@cd.chalmers.se
  21.                         | so hard to do |  www/ftp:  rand.thn.htu.se
  22.    Gothenburg, Sweden   |     well?     |            (MGIFv5 and QLem)
  23.  
  24.